using System;

namespace DataLayer
{
	/// <summary>
	/// Summary description for TableAttribute.
	/// </summary>
	
	[AttributeUsage (AttributeTargets.Class, AllowMultiple = false)]
	public class TableAttribute: Attribute
	{
		private string name;
		private string parentField;

		public TableAttribute()
		{
		
		}

		public TableAttribute(string name)
		{
			this.Name = name;
		}

		public string Name
		{
			get { return name; }
			set { name = value; }
		}
		
		public string ParentField
		{
			get { return parentField; }
			set { parentField = value; }
		}
	}
}
